package com.easyapi.dao.mapper.api;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.easyapi.dao.entity.api.ApiCenterDatasource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ApiCenterDatasourceMapper extends BaseMapper<ApiCenterDatasource> {
    List<ApiCenterDatasource> listAllDatasource();

    List<ApiCenterDatasource> listDatasourceByUserId(@Param("projectId") Long ProjectId);
}